package com.example.papercut.service.impl.dimension;

import com.example.papercut.entity.dimension.PCLayout;
import com.example.papercut.mapper.dimension.PCLayoutMapper;
import com.example.papercut.service.dimension.DimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class PCLayoutServiceImpl implements DimensionService<PCLayout> {

    private final PCLayoutMapper LayoutMapper;

    @Autowired
    public PCLayoutServiceImpl(PCLayoutMapper LayoutMapper) {
        this.LayoutMapper = LayoutMapper;
    }

    @Override
    public List<PCLayout> findAll() {
        return LayoutMapper.findAll();
    }
}